//
//  WSTopNewsInfo.h
//  WisdomStar
//
//  Created by 谭飞 on 2018/11/8.
//  Copyright © 2018年 zhangliwen. All rights reserved.
//

/*
 "id": 18,
 "title": "上传图片",
 "view": 0,
 "origin": "秋秋",
 "create_at": "2018-04-12 14:54:46",
 "name": "考试须知",
 "top_images": []
 */

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class ImageInfo;

@interface WSNewsInfo : NSObject

// 资讯id
@property (nonatomic, copy) NSString * article_id;

// 资讯标题
@property (nonatomic, copy) NSString * title;

// 浏览数量
@property (nonatomic, assign) NSInteger view;

// 简介
@property (nonatomic, copy) NSString * origin;

// 创建时间
@property (nonatomic, copy) NSString * create_at;

// 新闻分类
@property (nonatomic, copy) NSString * name;

/// 是否推荐
@property (nonatomic, assign) BOOL is_recommend;
/// 图片
@property (nonatomic, copy) NSString *picture;

// 资讯图片数组
@property (nonatomic, strong) NSArray <ImageInfo *> * top_images;

@end

@interface ImageInfo : NSObject

// image url
@property (nonatomic, copy) NSString * ad_url;

@end

NS_ASSUME_NONNULL_END
